package com.wing.cabinet.model.response;

import lombok.Data;

@Data
public class CabQuantityVO implements Comparable<CabQuantityVO>{
    private Integer quantity;

    private String cabCode;
    @Override
    public int compareTo( CabQuantityVO o) {
        if (this.quantity>o.quantity){
            return -1;
        }else{
            return 1;
        }
    }
}
